<?php
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = 'root';
$dbname = 'beerTicks';

$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting');
	
	if (!$conn){
		echo "could not connect to databse";
		exit();
	}

mysql_select_db($dbname, $conn);

?>